$OpenBSD: patch-tools_generate-launcher,v 1.3 2013/01/11 10:17:19 giovanni Exp $
--- tools/generate-launcher.orig	Thu Nov 15 18:28:50 2012
+++ tools/generate-launcher	Thu Jan  3 18:21:13 2013
@@ -27,14 +27,14 @@ cat <<EOF > exaile
 
 # Exaile launcher script (automatically generated)
 
-EXAILE_PREFIX=${PREFIX}
+EXAILE_PREFIX=${TRUEPREFIX}
 
 if test -z "\${XDG_DATA_DIRS}"; then
 	XDG_DATA_DIRS="/usr/local/share/:/usr/share/"
 fi
 XDG_DATA_DIRS="\${EXAILE_PREFIX}/share/:\${XDG_DATA_DIRS}"
 export XDG_DATA_DIRS
-exec ${PYTHON2_CMD} \${EXAILE_PREFIX}${LIBDIR}/exaile/exaile.py --datadir=\${EXAILE_PREFIX}/share/exaile/data --startgui ${DEFAULTARGS} "\$@"
+exec ${PYTHON2_CMD} \${MODPY_SITEPKG}/exaile/exaile.py --datadir=\${EXAILE_PREFIX}/share/exaile/data --startgui ${DEFAULTARGS} "\$@"
 exit \$?
 
 EOF
